<template>
    <el-container>
        <el-aside width="auto"> <v-sidebar></v-sidebar></el-aside>
        <el-container>
            <el-header><v-head></v-head></el-header>
            <el-main
                ><transition name="move" mode="out-in"
                    ><router-view></router-view></transition
            ></el-main>
            <el-footer>Footer</el-footer>
        </el-container>
    </el-container>
    <!-- <div>
        <v-sidebar></v-sidebar>
        <div class="content">
            <v-head></v-head>
            <div><transition name="move" mode="out-in"><router-view></router-view></transition></div>
        </div>
    </div> -->
</template>

<script>
import vHead from "./Header.vue";
import vSidebar from "./Sidebar.vue";
export default {
    components: {
        vHead,
        vSidebar,
    },
};
</script>
<style>
.el-header{
    padding: 0px;
}
.el-footer {
    background-color: #b3c0d1;
    color: #333;
    text-align: center;
    line-height: 60px;
}

.el-aside {
    /* background-color: #242f42; */
    /* color: #fff; */
    /* text-align: center; */
    /* overflow: hidden; */
    /* line-height: 200px; */
}

.el-main {
    background-color: #e9eef3;
    color: #333;
    text-align: center;
    line-height: 160px;
}

body > .el-container {
    margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
    line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
    line-height: 320px;
}
</style>
